
import Mock from 'mockjs';


// 强制拦截所有方法的 /api/getList
Mock.mock(/\/api\/getList/, 'get', {
  'list|10': [
    {
      'id|+1': 1,
      'name': '@cname',
      'age|20-60': 1,
      'gender|1': ['男', '女'],
      'department': '@ctitle(3, 5)',
      'position': '@ctitle(3, 5)'
    }
  ]
});